from pydantic import BaseModel, Field
from typing import Optional



class LoginParam(BaseModel):
    userName: Optional[str] = Field(..., title="用户名", description="用户名")
    password: Optional[str] = Field(..., title="密码", description="密码")